//==============================================================================
//
// File: CInternetList.h
// Project: Browser
// Author(s): Matthias Van Eeghem (matthias@van-eeghem.com)
// License: See LICENSE in root directory
//
// This class holds all methods related to the internet list. This list shows all
// currently online servers for the mod.
//
//==============================================================================

#ifndef CINTERNETLIST_H
#define CINTERNETLIST_H

#include "MainWindow.h"

class CInternetList
{
    // Holds the reference to the MainWindow
    static MainWindow * m_pMainWindow;

    public:
    // Initialise the internet list, this function performs a couple of actions
    // on the internet list TreeView.
    static void InitialiseInternetList(MainWindow * parent);
    // This method handles the reply to an earlier request of the masterlist.
    static void HandleInternetListReply(QString sContents);
};

#endif // CINTERNETLIST_H
